{% extends 'base.html' %}

{% block content %}
  <h1>确认删除待办事务</h1>
  <div class="alert alert-warning" role="alert">
    确定要删除待办事务：<strong>{{ object.content }}</strong> 吗？
  </div>
  <form method="post">
    {% csrf_token %}
    <button type="submit" class="btn btn-danger">确认删除</button>
    <a href="{% url 'core:task_list' %}" class="btn btn-secondary">取消</a>
  </form>
{% endblock %}